
<div>
    <h2><span data-translate="gatewayApp.page.detail.title">Page</span> {{vm.page.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="dl-horizontal jh-entity-details">
        <dt><span data-translate="gatewayApp.page.name">Name</span></dt>
        <dd>
            <span>{{vm.page.name}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.page.content">Content</span></dt>
        <dd>
            <span>{{vm.page.content}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.page.url">Url</span></dt>
        <dd>
            <span>{{vm.page.url}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.page.langKey">Lang Key</span></dt>
        <dd>
            <span>{{vm.page.langKey}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.page.enabled">Enabled</span></dt>
        <dd>
            <span>{{vm.page.enabled}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.page.displayOrder">Display Order</span></dt>
        <dd>
            <span>{{vm.page.displayOrder}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.page.website">Website</span></dt>
        <dd>
            <a ui-sref="website-detail({id:vm.page.websiteId})">{{vm.page.websiteName}}</a>
        </dd>
        <dt><span data-translate="gatewayApp.page.template">Template</span></dt>
        <dd>
            <a ui-sref="template-detail({id:vm.page.templateId})">{{vm.page.templateName}}</a>
        </dd>
    </dl>

    <button type="submit"
            ui-sref="{{ vm.previousState }}"
            class="btn btn-info">
        <span class="glyphicon glyphicon-arrow-left"></span>&nbsp;<span data-translate="entity.action.back"> Back</span>
    </button>

    <button type="button" ui-sref="page-detail.edit({id:vm.page.id})" class="btn btn-primary">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="hidden-sm-down" data-translate="entity.action.edit"> Edit</span>
    </button>
</div>
